Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global logger #114

Closed
wants to merge 73 commits into from
Closed

Global logger #114

wants to merge 73 commits into from

Conversation

lavkesh
Copy link
Member

@lavkesh lavkesh commented Sep 27, 2023

No description provided.

spy16 and others added 30 commits March 2, 2023 19:27
fix: kube deployment name-limit handling
chore: change odpf references to goto
* fix: golanci config

* fix: gci lint issues

* fix: lint issues

* fix: remove nosnakecase lint from disable list
* fix: deployment id name
* chore: add better error description

* refactor: merge firehose module files
refactor: reduce firehose package
* feat: implement create, update, reset
* feat: implement upgrade
* feat: implement start, stop, scale
* test: add lots of tests
* feat: implement reset-sync
* refactor: simplify kafka reset flow
* feat: implement log
* refactor: separate client & server CLI
* feat: fix entropy client cli
* fix: use previous telegraf conf
* refactor: remove old firehose module
fix: change commit author to bot
* fix: strip trailing colon in image tag
* feat: add telegraf config templating
ishanarya0 and others added 29 commits July 17, 2023 12:34
fix: goreleaser action
- goreleaser github action was failing while attempting release
* fix: change rm-dist flag to clean

* fix: change to old version which supports replacements
- will receive an optional field stop_time in body
- if received, it will set the value to stoptime to this value
* refactor: public ScaleParams & StartParams

* chore: update config.go
* feat: add urn to deployment labels

- this can be used as a metrics tag

* fix: new map for template labels

* fix: remove urn label form entropylabels
* feat: createdBy and updatedBy in resource & revision

* feat: update resource proto"
- AdditionalGlobalTags to take values from all env_variables and labels
- secretsAsVolumes, volumeMounts, requiredDuringSchedulingIgnoredDuringExecution, preferredDuringSchedulingIgnoredDuringExecution initialize as empty arrays
* feat: firehose update to take the latest telegraf values from module

* feat: init-container configs to be updated on edit

* test: fix driver tests
dquote> - if the stoptime is in past, stopped flag value shall be updated to true as well
* feat: add logging request body

* fix: avoid returning err in requestLogger

* feat: avoid logging /ping path
fix: path and key
* fix: remove skipping empty values for env variables

* fix: lint issue
fix: mount path to be independent of dep id"
- skip pods in output if they are not in running state or in pending state
- get call will persist the output to DB if it's changed
* feat: support google service account for gke usage

* chore: bump up salt
* test: payloads sent to LOG, BQ and GCS/BLOB sinks

* fix: lint issue
* fix: add delay before executing reset

- kafka takes some time before it registers the stopped consumer
- hence when we try to attemp the reset immediately, it fails
- even though it fails, it does not return a failed response

* feat: make delay configurable

* chore: update comment

* Update driver.go

* change time to seconds

* feat: handle context cancellation
* fix: use deployment id for deriving job name

* refactor: remove var declaration
* fix: remove -firehose from job name

* fix: lint issue
* feat: use group incremental reset strategy

* test: getNewConsumerGroupID

* fix: lint issue

* fix: lint issue

* fix: use regex

* fix: lint issue

* test: fix group id numbers

* fix: use shorted if syntax

* fix: test

* fix: readConfig

* refactor: rename new-reset to reset-v2

* fix: error message

* fix: var name

* fix: var name
* fix: empty body while logging

- body was read while processing the request
- made a copy of the body buffer, to log later

* refactor: use io.Copy

* fix: use io.Readall

* fix: return if body reading fails

* fix: change log type to error
@lavkesh lavkesh closed this Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants